package com.xmb.quick.service;

import java.util.List;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.xmb.quick.entity.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangping
 * @since 2020-03-11
 */
@DS("master")
public interface ISysUserService extends IService<SysUser> {

	List<SysUser> selectInfoList(Wrapper<SysUser> ew);

	SysUser selectInfoOne(Wrapper<SysUser> ew);

	Page<SysUser> selectInfoPage(Page<SysUser> page, Wrapper<SysUser> ew, String dept, String role) throws Exception;

	void add(SysUser user) throws Exception;

	void edit(SysUser user) throws Exception;

	void deleteInfo(List<String> ids) throws Exception;

}
